1bashThis prints the value of the PATH environment variable.echo $PATHbash internalenvironment variablesPATH variable
2bashThis demonstrates printing the hostname of the current system using the built-in $HOSTNAME variable.echo "Hostname: $HOSTNAME"bash internalenvironment variablesbuilt-in environment variablessystem information